<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script type="text/javascript">
    var aa=prompt("请输入摄氏度");
    var bb=(9/5)*aa+32;
    alert("华氏度为"+bb);
</script>

</body>
</html>